namespace Admin2025.Domain.Repository;

public interface IRepository<T> where T : EntityBase
{
    Task<T> GetByIdAsync(Guid id);
    Task AddAsync(T entity);
    Task UpdateAsync(T entity);
    Task DeleteAsync(T entity);
}